package com.zysc.processflow.service;

import com.zysc.processflow.entity.*;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 处置任务表 服务类
 * </p>
 *
 * @author 正元智慧城市_
 * @since 2022-11-23
 */
public interface IHandletaskService extends IService<Handletask> {



    Boolean removeOldTask(String recordid, String nodeid);

    Boolean removeOldTaskByNodeList(String recordid, List<String> nodeids);

    Boolean removeHandelAndUrgeTaskByRecordId(String recordid);

    Boolean saveNodeTaskByRecordAndNextNode(Handlerecord record, Handleprocessnode nextnode);

}
